<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of galleryController
 *
 * @author vampired
 */
class GalleryController extends Zend_Controller_Action {

    public function indexAction() {
        $gallery=GalleryTable::getInstance();
        $this->view->images=$gallery->findAll(Doctrine::HYDRATE_ARRAY);
    }
}

?>
